package part1;

import java.util.Arrays;

public class Main {
    public static void main(String[] args) {
        Cat[] a = {new Cat(3, 1), new Cat(5, 5), new Cat(1, 1)};
        Sorter.sort(a);
        System.out.println(Arrays.toString(a));

        Dog[] b = {new Dog(4), new Dog(2), new Dog(1)};
        Sorter.sort(b);
        System.out.println(Arrays.toString(b));
    }
}
